/**
 * @(#)MobileClientDAOImpl.java 2017年6月7日
 * Copyright(C) 2017 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.dao.impl;

import org.jsbd.boss.dao.IMobileClientDAO2;
import org.jsbd.boss.domian.channel.AndriodVerClient;
import org.jsbd.boss.domian.channel.MobileClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * TODO 请加入本类的说明
 * 
 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
 * @version 1.0.0
 */
@Service("mobileClientDao2")
public class MobileClientDAOImpl2 extends CrackBaseDao implements IMobileClientDAO2 {
	public static final Logger LOGGER = LoggerFactory.getLogger(MobileClientDAOImpl2.class);


	@Override
	public MobileClient selectMobileClient(MobileClient mobileClient) {
		return (MobileClient) super.queryForObject("qy_mobile_client2.SELECT_MOBILE_CLIENT", mobileClient);
	}

	@Override
	public MobileClient randomSelectMobileClient(MobileClient mobileClient) {
		return (MobileClient) super.queryForObject("qy_mobile_client2.RANDOM_SELECT_MOBILE_CLIENT", mobileClient);
	}

	@Override
	public void insertMobileClient(MobileClient mobileClient){
		super.insert("qy_mobile_client2.INSERT_MOBILE_CLIENT", mobileClient);
	}
}
